bootloader: fdatasync() bootloader configuration
authorColin Walters <walters@verbum.org>
Fri, 4 Apr 2014 02:20:59 +0000 (22:20 -0400)
committerColin Walters <walters@verbum.org>
Fri, 4 Apr 2014 02:32:30 +0000 (22:32 -0400)
commit829e0382ab2a2ad1a741bbabeb5ef9a7fd7cfb75
treee0aafecf39ecda278827f4dd7b89fa3132310c23
parentcc8bacf8b4b37196dd07cdf987365872b735e639
bootloader: fdatasync() bootloader configuration

Let's be a bit more conservative here and actually fdatasync() the
configurations we're generating.

I'm seeing an issue at the moment where syslinux isn't finding the
config sometimes, and while I don't think this is the issue, let's try
it.
src/libostree/ostree-bootloader-syslinux.c
src/libostree/ostree-bootloader-uboot.c
src/libotutil/ot-gio-utils.c
src/libotutil/ot-gio-utils.h